<HTML>
<HEAD><TITLE>rectangle</TITLE></HEAD>
<BODY><H1>rectangle</H1>
A rectangle to be drawn in each frame<BR><BR>
<TABLE border="1">
<TR><TD>Name</TD><TD>Required</TD><TD>Type</TD><TD>Default value</TD><TD>Description</TD>
<TR><TD>rectanglesFilename</TD><TD>No</TD><TD>string</TD><TD>[]</TD><TD>A file containing 5 elements per row - the x,y of the top-left corner, and the width and height of the rectangles to draw (in the stimuli directory), in the range 0 to 1. The fifth element is whether to fill the rectangle (0 or 1)</TD></TR>
<TR><TD>rectangles</TD><TD>No</TD><TD><A title="A n by 5 matrix (see description for how to fill it)">n by 5 matrix</A></TD><TD>[]</TD><TD>An array with the rectangle data (same format as for rectanglesFilename). Can specify either rectanglesFilename or rectangles</TD></TR>
<TR><TD>framesPerRectangle</TD><TD>No</TD><TD><A title="A single number (i.e. not a matrix)">number</A></TD><TD>4</TD><TD>number of frames to show each rectangle for</TD></TR>
<TR><TD>color</TD><TD>No</TD><TD><A title="A 1 by 3 matrix (see description for how to fill it)">1 by 3 matrix</A></TD><TD>[255,0,0]</TD><TD>The color of the rectangle (RGB, 1x3 matrix, from 0 to 255)</TD></TR>
</TABLE></BODY></HTML>